package team.se.tms.service;

import team.se.tms.dto.GroupDetail;
import team.se.tms.po.StudentInfo;

import java.util.List;

/**
 * Created by argentum on 2018/12/25.
 * @author argentum
 */
public interface GroupInfoService {
    /**
     * 新建分组
     * @create on 2018/12/25 by argentum
     *
     * @param teachCourseId
     * @param teacherId
     * @param projectName
     * @param stuIds
     * @param groupLeader
     * @return
     * @throws Exception
     */
    Boolean saveGroupInfo(String teachCourseId , String teacherId, String projectName, List<String> stuIds,String groupLeader) throws Exception;

    /**编辑分组
     * @create on 2018/12/25 by argentum
     *
     * @param projectId
     * @param projectName
     * @param stuIds
     * @param groupLeader
     * @return
     * @throws Exception
     */
    Boolean modifyGroupInfo(String projectId, String projectName, List<String> stuIds,String groupLeader) throws Exception;

    /**
     * 查询小组全部成员以进行评分
     * @create on 2018/12/26 by argentum
     *
     * @param teachCourseId
     * @return
     * @throws Exception
     */
    List<GroupDetail> listGroupDetails(String teachCourseId) throws Exception;
}
